home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
lib
/
python2.4
/
encodings
/
mbcs.pyc
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2005-10-18
|
1KB
|
36 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.4)
""" Python 'mbcs' Codec for Windows
Cloned by Mark Hammond (mhammond@skippinet.com.au) from ascii.py,
which was written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
"""
import codecs
class Codec(codecs.Codec):
encode = codecs.mbcs_encode
decode = codecs.mbcs_decode
class StreamWriter(Codec, codecs.StreamWriter):
pass
class StreamReader(Codec, codecs.StreamReader):
pass
class StreamConverter(StreamWriter, StreamReader):
encode = codecs.mbcs_decode
decode = codecs.mbcs_encode
def getregentry():
return (Codec.encode, Codec.decode, StreamReader, StreamWriter)